;

#pragma once
#include <cocos2d.h>

enum class GameNodeType {
	sprite,
	frame_animation,
	skeletal_animation,
};

enum class GameNodeLifeTimeType {
	duration,
	play_to_end,
};

struct ManagedGameNodeInfo {
	cocos2d::CCNode* node;
	GameNodeType nodeType;
	GameNodeLifeTimeType lifeTimeType;
	float duration;

	ManagedGameNodeInfo() {
		node = nullptr;
		nodeType = GameNodeType::frame_animation;
		lifeTimeType = GameNodeLifeTimeType::play_to_end;
		duration = 0.0f;
	}
};
